package cn.darkhorse.device.mapper;

import cn.darkhorse.device.pojo.MesCheckPlanUser;
import cn.darkhorse.device.vo.MesCheckPlanUserVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 点检计划设备关联表 Mapper 接口
 * </p>
 *
 * @author maoguanjun
 * @since 2022-12-06
 */
public interface MesCheckPlanUserMapper extends BaseMapper<MesCheckPlanUser> {
    /**
     * 根据名称查询用户id集合
     *
     * @param name
     * @return
     */
    List<Long> queryByName(@Param("name") String name);

    List<MesCheckPlanUserVO> getList(@Param("planId")Long planId,@Param("type") Integer Type);

}
